//----- Include Files ---------------------------------------------------------
#include <avr/io.h>		// include I/O definitions (port names, pin names, etc)
#include <avr/interrupt.h>	// include interrupt support
#include <avr/eeprom.h>	// eeprom support
#include <math.h>

#include "uart2.h"		// include uart function library
//#include "rprintf.h"	// include printf function library
#include "i2c.h"		// include I2C function library
#include "timer.h"
#include "lis3l02.h"	// include LIS3L02 accelerometer support
#include "avrlibdefs.h"
#include "avrlibtypes.h"

void acquisition_i2cInit(void);

void diglevel(s16* tab);
/*void diglevel(void);*/

void sample(void);

void calibrate(void);
